package PTA.Mianxiangduixiang.ex17;
public class ex17 {
    public static void main(String[] args) {
        Test test = new Test(true);
    }
}

class Test {
    public Test(){
        System.out.println("Constructor one invoked!");
    }
    public Test(int x){
        //此处添加代码
        this();
        System.out.println("Constructor two invoked!");
    }
    public Test(boolean b){
        //此处添加代码
        this(1);
            System.out.println("Constructor three invoked!");

        }

}
